package com.molichuxing.services.infrastructure.service;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.create.EsignAccountCreateDto;
import com.molichuxing.services.infrastructure.dto.request.modify.EsignAccountModifyDto;
import com.molichuxing.services.infrastructure.dto.response.EsignAccountDto;

/**
 * <p>
 * 用户印章 服务类
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-10-08
 */
public interface EsignAccountService extends RootService {

    /**
     * 添加
     *
     * @param esignAccountCreateDto
     * @return
     * @throws Exception
     */
    public Integer createEsignAccount(EsignAccountCreateDto esignAccountCreateDto) throws Exception;

    /**
     * 修改
     *
     * @param esignAccountModifyDto
     * @return
     * @throws Exception
     */
    public Boolean modifyEsignAccount(EsignAccountModifyDto esignAccountModifyDto) throws Exception;

    /**
     * 根据用户姓名，身份证号查询
     *
     * @return
     */
    public EsignAccountDto getEsignByNameAndIdNumber(String name, String idNumber);

}
